package com.bamboo.common.configs.custom;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
* @description  映射配置文件中的demo相关的配置
* @date 2025/3/6 8:40
* @author chenzh
*/
@Configuration
@ConfigurationProperties("demo")
public class DemoConfig {
    private String msg;
    private int version;
    private boolean enable;
    private List<String> dependencies;

    public String getMsg() {
        return msg;
    }

    public int getVersion() {
        return version;
    }

    public boolean isEnable() {
        return enable;
    }

    public List<String> getDependencies() {
        return dependencies;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public void setDependencies(List<String> dependencies) {
        this.dependencies = dependencies;
    }
}
